
module.exports = {
  transpileDependencies: ['uview-ui'],

  // h5 代理
  devServer: {
    proxy: {
      '/h5': {
        target: 'http://api.jia',
        changeOrigin: true,
        pathRewrite: {
          '^/h5': '/h5'
        }
      },
      '/apis': {
        target: 'http://api.jia',
        changeOrigin: true,
        pathRewrite: {
          '^/apis': '/'
        }
      }
    }
  },

}

